// src/routes/planets/planets.controller.js
const { getAllPlanets } = require('../../models/planets.model');
function httpGetAllPlanets(req, res) {
return res.status(200).json(getAllPlanets());
}
module.exports = {
httpGetAllPlanets,
};